<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Video extends Model
{
    protected $table = 'video';
    //设置主键值
    protected $fillable = [
        'id', 'title', 'author', 'introduce', 'detail', 'img_url', 'video_url', 'view_num', 'status'
    ];
    protected $primaryKey = 'id';
    public $timestamps = true;
}
